﻿<%@ Page Language="C#" MasterPageFile="~masterurl/custom.master" AutoEventWireup="true"
  Inherits="Kiiro.SiteDefinition.ProjectPages.AllWork, Kiiro.SiteDefinition, Version=1.2.0.7, Culture=neutral, PublicKeyToken=5b2f4277f61b7816" %>

<%@ Register TagPrefix="SP" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="v2" TagName="WorkItem" Src="~/_controltemplates/Kiiro/MyWorkItem.ascx" %>
<%@ Register TagPrefix="v2" TagName="Pager" Src="~/_controltemplates/Kiiro/Pager.ascx" %>
<%@ Register TagPrefix="v2" TagName="WelcomeMessagePanel" Src="~/_controltemplates/Kiiro/WelcomeMessagePanel.ascx" %>
<%@ Register TagPrefix="v2" TagName="Filter" Src="~/_controltemplates/Kiiro/Filter.ascx" %>
<asp:Content ID="ContentTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
  <asp:Literal ID="litTitle" runat="server" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

  <script type="text/javascript">
    $(InitWorkItems);
  </script>

  <div id="actionBar" runat="server" class="actionbar">
    <div class="wrap-has-tabs">
      <v2:Filter id="v2Filter" runat="server" />
    </div>
  </div>
  <div class="body-pad">
    <div class="body">
      <div class="wrap">
        <div class="panel-pad">
          <asp:Panel ID="pnlPanel" runat="server" CssClass="panel">
            <div class="panel-wrap">
              <div class="panel-title">
                <table class="table-project-work">
                  <tr>
                    <th class="title">
                      <asp:Literal ID="litNumItems" runat="server" />Items
                    </th>
                    <th class="due">
                      <span>
                        <p class="sort">
                          <asp:LinkButton ID="lbDueDate" runat="server" OnClick="SortBy_Click" CommandArgument="DueDate"
                            Text="Due" />
                          <asp:Literal ID="dueSort" runat="server" />
                        </p>
                      </span>
                    </th>
                    <th class="update">
                    </th>
                  </tr>
                </table>
              </div>
              <div class="table">
                <table class="table-project-work">
                  <asp:Repeater ID="rptWork" runat="server" OnItemDataBound="rptWork_ItemDataBound">
                    <ItemTemplate>
                      <v2:WorkItem id="v2WorkItem" runat="server" />
                    </ItemTemplate>
                  </asp:Repeater>
                </table>
              </div>
            </div>
          </asp:Panel>
          <v2:Pager id="v2Pager" runat="server" />
          <v2:WelcomeMessagePanel id="v2WelcomeMessagePanel" runat="server" visible="false" />
        </div>
      </div>
    </div>
  </div>
</asp:Content>
